package saxion.sensor.structuur;

import java.util.List;
 
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlTransient;
 
@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class Sensor {
 
    private String name;
    private String description;
    private int id;
    
    private List<DataStruc> datastruc;
 
 
    public Sensor() {
        
    }
 
    
    //Getters
    public int getId() {
        return id;
    }
 
    public String getName() {
        return name;
    }
    
    public String getDescription() {
        return description;
    }
    
    public List<DataStruc> getDatastructuur() {
        return datastruc;
    }
    
    
    //Setters
    public void setId(int id) {
        this.id = id;
    }
 

    public void setName(String name) {
        this.name = name;
    }
 
    
    public void setDescription(String description) {
        this.description = description;
    }
    

    public void setDatastructuur(List<DataStruc> datastruc) {
        this.datastruc = datastruc;
    }
   

    
    public String toString()
    {
    	return "Name: "+ this.name + "; Description: "+ this.description;
    }
 
}
